package com.quanyan.user.model.vo.response;

import com.quanyan.user.model.db.TbUserThirdAccount;

/**
 * Created by zhang on 17/3/27.
 */
public class RespUserThirdAccount {
    public RespUserThirdAccount(){

    }

    public RespUserThirdAccount(TbUserThirdAccount userThirdAccount){
        this.uid = userThirdAccount.getUid();
        this.larkAppId = userThirdAccount.getLarkAppId();
        this.openId = userThirdAccount.getOpenId();
        this.unionId = userThirdAccount.getUnionId();
        this.thirdIcon = userThirdAccount.getThirdIcon();
        this.thirdNickname = userThirdAccount.getThirdNickname();
    }
    private int uid;

    private String openId;

    private String unionId;

    private String thirdNickname;

    private String thirdIcon;

    private int larkAppId;

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getThirdNickname() {
        return thirdNickname;
    }

    public void setThirdNickname(String thirdNickname) {
        this.thirdNickname = thirdNickname;
    }

    public String getThirdIcon() {
        return thirdIcon;
    }

    public void setThirdIcon(String thirdIcon) {
        this.thirdIcon = thirdIcon;
    }

    public int getLarkAppId() {
        return larkAppId;
    }

    public void setLarkAppId(int larkAppId) {
        this.larkAppId = larkAppId;
    }

    @Override
    public String toString() {
        return "RespUserThirdAccount{" +
                "uid=" + uid +
                ", openId='" + openId + '\'' +
                ", unionId='" + unionId + '\'' +
                ", thirdNickname='" + thirdNickname + '\'' +
                ", thirdIcon='" + thirdIcon + '\'' +
                ", larkAppId=" + larkAppId +
                '}';
    }
}
